"""
Hongyu (Vicky) Ye
02/07/2021
Section #03
Problem #3: Math Expressions

1 ml = 0.202884 tsp
1 tbsp = 3 tsp
1 cup = 16 tbsp
1 pint = 2 cups
1 quart = 2 pints
1 gallon = 4 quarts
1 floz = 29.5735 ml

"""
tbsp = tsp/3
cup = tbsp/16
pint = cup/2
quart = pint/2
gallon = quart/4
floz = mL/29.5735

print ("--------------------------------------------------------------")
print ("\t", "\t", "mL to US Fluid Volume Units")
print ("--------------------------------------------------------------")

s_mL = format("mL:", "<17s")
print ("\t", s_mL, mL)
s_tsp = format("tsp:", "<17s")
print ("\t", s_tsp, tsp)
t_bsp = format(str(tbsp), "<17s")
print ("\t", "tbsp:", tbsp)
s_cup = format(str(cup), "<17s")
print ("\t", "cup:", cup)
s_pint = format(str(pint), "<17s")
print ("\t", "pint:", pint)
s_quart = format(str(quart), "<17s")
print ("\t", "quart:", quart)
s_gallon = format(str(gallon), "<17s")
print ("\t", "gallon:", gallon)
s_floz = format(str(floz), "<17s")
print ("\t", "floz:", floz)

